MPT.addRoute('index', function() {

    // 社区首页
    // #!/index/index
    this.index = function() {
        require([
			MPT.Config['sta_js_tpl_http'] + '/index_index.js'
		], function() {

		    jQuery("#contenter").replaceWith(MPT.getTmpl('index_index'));

		    // -- 激活该HTML action --
		    MPT.excAction(jQuery("#contenter").get(0));

		    document.title = "蜀门社区 - 社区首页";
		});
    };

    this.test = function() {
        require([
			MPT.Config['sta_js_tpl_http'] + '/test.js'
		], function() {

		    jQuery("#contenter").replaceWith(MPT.getTmpl('test'));

		    // -- 激活该HTML action --
		    MPT.excAction(jQuery("#contenter").get(0));
		});
    };

});